package com.study.mapper;

import com.study.bean.User;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface LoginMapper {


    @Select("SELECT * FROM USER WHERE username = #{username} AND password = #{password}")
    List<User> login(User user);
}
